package org.wlgzs.shop.bean;

import lombok.Data;

import javax.validation.constraints.NotNull;
@Data
public class Store {

    /**
     *
     *店铺id
     */
    private Integer storeId;

    /**
     *
     *店铺名
     */
    @NotNull
    private String storeName;

    /**
     *
     *用户id
     */
    @NotNull
    private Integer userId;

    /**
     *
     *创建时间
     */
    @NotNull
    private String setTime;

    /**
     *
     *店铺描述
     */
    @NotNull
    private String storeIntroduce;

    /**
     *
     *店铺类别
     */
    @NotNull
    private String storeKind;

    /**
     *
     *图片路径
     */
    @NotNull
    private String photoUrl;

    /**
     *
     *收藏个数
     */
    @NotNull
    private Integer collectionNumber;

    /**
     *
     *评价星级
     */
    @NotNull
    private Integer reviewPower;

    /**
     *
     *富文本
     */
    @NotNull
    private byte[] html;

    public Integer getStoreId() {
        return storeId;
    }

    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName == null ? null : storeName.trim();
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getSetTime() {
        return setTime;
    }

    public void setSetTime(String setTime) {
        this.setTime = setTime == null ? null : setTime.trim();
    }

    public String getStoreIntroduce() {
        return storeIntroduce;
    }

    public void setStoreIntroduce(String storeIntroduce) {
        this.storeIntroduce = storeIntroduce == null ? null : storeIntroduce.trim();
    }

    public String getStoreKind() {
        return storeKind;
    }

    public void setStoreKind(String storeKind) {
        this.storeKind = storeKind == null ? null : storeKind.trim();
    }

    public String getPhotoUrl() {
        return photoUrl;
    }

    public void setPhotoUrl(String photoUrl) {
        this.photoUrl = photoUrl == null ? null : photoUrl.trim();
    }

    public Integer getCollectionNumber() {
        return collectionNumber;
    }

    public void setCollectionNumber(Integer collectionNumber) {
        this.collectionNumber = collectionNumber;
    }

    public Integer getReviewPower() {
        return reviewPower;
    }

    public void setReviewPower(Integer reviewPower) {
        this.reviewPower = reviewPower;
    }

    public byte[] getHtml() {
        return html;
    }

    public void setHtml(byte[] html) {
        this.html = html;
    }
}